{if isset($pager)}
	{if $pager->getPages() > 1}
		{foreach $pager->getPagesArray(20) as $val}
		  {if $pager->getPage() == $val}
			<a href="{$pager->link($val)}" class="curebt">{$val}</a>
		  {else}
			<a href="{$pager->link($val)}">{$val}</a>
		  {/if}  
		{/foreach}
		
        {if $pager->end() >= 10 && $pager->getPage() != $pager->end()}
		..... <a href="{$pager->link($pager->end())}">{$pager->end()}]</a>
		{/if} 
		{if $pager->getPage() > 1}
  	      <a href="{$pager->link($pager->prev())}" class="prev"><上一页/</a>
  	  	{/if}
	  {if $pager->getPage() < $pager->getPages()}
	      <a href="{$pager->link($pager->next())}" class="next">下一页></a>
	  {/if}
	{/if}
{/if}